home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
IDLIncludes
/
MachineExceptions.idl
< prev
next >
Wrap
Text File
|
1996-05-01
|
2KB
|
74 lines
/*
File: MachineExceptions.idl
Contains: Processor Exception Handling Interfaces.
Version: Technology: System 7.5
Release: Universal Interfaces 3.0d3 on Copland DR1
Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
Bugs?: If you find a problem with this file, send the file and version
information (from above) and the problem description to:
Internet: apple.bugs@applelink.apple.com
AppleLink: APPLE.BUGS
*/
#ifndef __MACHINEEXCEPTIONS_IDL__
#define __MACHINEEXCEPTIONS_IDL__
#include <somobj.idl>
#include <somcls.idl>
#ifndef __TYPES_IDL__
#include <Types.idl>
#endif
#ifdef __SOMIDL__
#if FOR_SYSTEM7_AND_SYSTEM8_PREEMPTIVE
/* Some basic declarations used throughout the kernel */
typedef OpaquePtr AreaID;
/* Machine Dependent types for PowerPC: */
typedef SOMLargeStruct MachineInformationPowerPC; /* Derived from a struct of 64 bytes in size */
typedef SOMLargeStruct RegisterInformationPowerPC; /* Derived from a struct of 256 bytes in size */
typedef SOMLargeStruct FPUInformationPowerPC; /* Derived from a struct of 264 bytes in size */
/* Exception related declarations */
typedef unsigned long MemoryReferenceKind;
typedef SOMLargeStruct MemoryExceptionInformation; /* Derived from a struct of 16 bytes in size */
#if OLDROUTINENAMES
#endif
typedef unsigned long ExceptionKind;
typedef SOMFourByteStruct ExceptionInfo; /* Derived from a struct of 4 bytes in size */
typedef SOMLargeStruct ExceptionInformationPowerPC; /* Derived from a struct of 20 bytes in size */
typedef ExceptionInformationPowerPC ExceptionInformation;
typedef MachineInformationPowerPC MachineInformation;
typedef RegisterInformationPowerPC RegisterInformation;
typedef FPUInformationPowerPC FPUInformation;
/*
Note: An ExceptionHandler is NOT a UniversalProcPtr.
It must be a PowerPC function pointer with NO routine descriptor.
*/
typedef OpaquePtr ExceptionHandler;
/* Routine for installing per-process exception handlers */
#endif
#endif /* __SOMIDL__ */
#endif /* __MACHINEEXCEPTIONS_IDL__ */